package com.itheima.ergodicSet;

public class Movie {
    private String name;
    private String director;
    private String actor;
    private double score;
    private String type;
    private String info;

    public Movie() {
    }

    public Movie(String name, String director, String actor, double score, String type, String info) {
        this.name = name;
        this.director = director;
        this.actor = actor;
        this.score = score;
        this.type = type;
        this.info = info;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", director='" + director + '\'' +
                ", actor='" + actor + '\'' +
                ", score=" + score +
                ", type='" + type + '\'' +
                ", info='" + info + '\'' +
                '}';
    }
}
